/**
 * feathC查看控制脚本
 */

const arr = document.querySelectorAll("#list .btn");
for (let i = 0; i < arr.length; i++) {
  const item = arr[i];

  const btnNames = ["继续", "保存", "移除", "", ""];
  const isShow = !item.className.includes("d-none");
  const isCertainBtn = btnNames.includes(item.innerText);

  if (isShow && isCertainBtn) {
    console.log("TT > item", item);
    item.click();
  }
}
const arr1 = document.querySelectorAll(".td-preview");
for (let i = 0; i < arr1.length; i++) {
  const item = arr[i];
  item.style.display = "none";
}
